package com.example.aircraftticketingsystemserver.service;

import com.example.aircraftticketingsystemserver.entity.Passenger;
import com.example.aircraftticketingsystemserver.entity.UserPassenger;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.aircraftticketingsystemserver.utils.Page;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxz
 * @since 2024-08-19
 */
public interface IUserPassengerService extends IService<UserPassenger> {
    public Page getPassengersByUserId(Integer pageNo,
                                      Integer pageSize,
                                      Integer userId,
                                      String passengerNumber,
                                      String passengerName,
                                      String passengerPhone);

    public List<Passenger> getPassengerList(Integer userId);

    public List<Passenger> getPassengerByParams(Integer userId,
                                                String passengerNumber,
                                                String passengerName,
                                                String passengerPhone);

}
